<div class="input-group col-xs-12">
    <input class="form-control" ng-model="model[options.key]">
    <span class="input-group-btn">
        <button class="btn btn-default {{to.btnClassName}}"
                ng-click="options.templateOptions['openModal']('lg',options,to.modal);"
                type="button">{{to.btnLabel}}</button>
    </span>
</div>